﻿using B.T.BasicData.ErrorCode;
using B.T.BasicData.Read.Api.DTOs;

namespace B.T.BasicData.Read.Api.RBACServices.IServices
{
    /// <summary>
    /// 登录服务接口
    /// </summary>
    public interface ILoginServices
    {
        /// <summary>
        /// 用户登录
        /// </summary>
        /// <param name="loginDto">登录信息</param>
        /// <returns>登录结果</returns>
        Task<ApiResult<LoginResultDto>> Login(LoginDto loginDto);
    }
}
